package com.chixing.service;


import com.chixing.util.ServerResponse;

public interface IndexService {
    public ServerResponse getNotesById(Integer notes_id);
    public ServerResponse getNotesAll();
    public ServerResponse getNotesByPage(Integer pageNum,Integer custId);
    public ServerResponse getNotesByPageOrderByDate(Integer pageNum);
//    public ServerResponse updatePriseAdd(Integer id);
    public ServerResponse getNotesDetailById(Integer id);
    //首页游记点赞
    public void praise(Integer cusId, Integer travelNotesId, Integer status);

    //redis持久化到数据库
    public void reids2MySql();
}
